package com.ds.dsfans.magicapi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ds.dsfans.common.annotation.Excel;
import com.ds.dsfans.common.core.domain.BaseEntity;

/**
 * 脚本列表对象 magic_api_file
 * 
 * @author dsfans
 * @date 2024-07-11
 */
public class MagicApiFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 接口文件路径 */
    @Excel(name = "接口文件路径")
    private String filePath;

    /** 接口文件内容 */
    @Excel(name = "接口文件内容")
    private String fileContent;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setFileContent(String fileContent) 
    {
        this.fileContent = fileContent;
    }

    public String getFileContent() 
    {
        return fileContent;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("filePath", getFilePath())
            .append("fileContent", getFileContent())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
